<!--
  @description: 药房窗口屏
  @author: lhf
  @time:
-->
<template>
  <div class="main-body">
    <Header :logo="jsonData.region_img_201_1" :options="jsonData.region_text_100_1" />
    <div class="main clearfix">
      <div class="main-left">
        <div class="win-num">{{ deviceInfo.zsName }}</div>
        <div class="tips">配药完成，请以下患者取药</div>
        <div class="call-list">
          <ul class="clearfix">
            <li v-for="item in callList.slice(0, 6)" :key="item.queuingId">{{ item.patientName }}</li>
          </ul>
        </div>
      </div>
      <div class="main-right">
        <div class="right-body">
          <div class="sup">配药中，请以下患者耐心等候</div>
          <div class="sub">
            <vue-seamless-scroll class="scroll" :key="rollKey" :data="waitList" :class-option="classOption" @ScrollEnd="handleScrollEnd">
              <ul class="wait-info">
                <li v-for="item in waitList" :key="item.queuingId">{{ item.patientName }}</li>
              </ul>
            </vue-seamless-scroll>
          </div>
        </div>
      </div>
    </div>
    <Footer :options="jsonData.region_text_100_2" />
  </div>
</template>

<script src="./wins.js"></script>

<!-- Add "scoped" attribute to limit CSS to this component only -->
<style scoped lang="scss">
@import '@/assets/styles/wins.scss';
</style>
